
using Microsoft.Extensions.DependencyInjection;
using Platform.Core.Config;
using Platform.Hardware.ControlCard.Base;

namespace Platform.Hardware.ControlCard.Emulation
{
    public static class ControlCardEmulationModule
    {
        public static void InitCameraEmulationModule(this ServiceCollection services)
        {
            if (ConfigManager.NoHardwareMode)
            {
                services.AddSingleton<IControlCard, ControlCardEmulation>();

            }
        }
    }

}
